home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 17d1.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  2.1 KB  |  75 lines

  1. on startMovie
  2.   global gCursorReady, gMagCursor, gKnobSprite
  3.   gCursorReady = 1
  4.   gMagCursor = "magCursor"
  5.   qtChan = 11
  6.   sprite(qtChan).volume = 256
  7.   preLoad(qtChan - 1)
  8.   puppetSprite(48, 1)
  9.   set the locH of sprite 48 to the mouseH
  10.   set the locV of sprite 48 to the mouseV
  11.   sprite(13).visible = 0
  12.   sprite(15).visible = 0
  13.   sprite(17).visible = 0
  14.   set the mouseDownScript to EMPTY
  15.   set the mouseUpScript to EMPTY
  16.   gKnobSprite = 26
  17.   setUpKnob()
  18. end
  19.  
  20. on idle
  21.   global gCursorReady
  22.   if gCursorReady = 1 then
  23.     cursor(200)
  24.     checkCursors()
  25.     set the locH of sprite 48 to the mouseH
  26.     set the locV of sprite 48 to the mouseV
  27.     updateStage()
  28.   end if
  29. end
  30.  
  31. on checkCursors
  32.   global gMagCursor
  33.   set the castNum of sprite 48 to the number of member "curs1"
  34.   if the castNum of sprite 2 and rollOver(2) then
  35.     set the castNum of sprite 48 to the number of member "deMagCursor"
  36.   end if
  37.   if rollOver(6) then
  38.     set the castNum of sprite 48 to the number of member "hotCursor"
  39.   end if
  40.   if rollOver(7) then
  41.     set the castNum of sprite 48 to the number of member "hotCursor"
  42.   end if
  43.   if rollOver(8) then
  44.     set the castNum of sprite 48 to the number of member "hotCursor"
  45.   end if
  46.   if rollOver(9) then
  47.     set the castNum of sprite 48 to the number of member "hotCursor"
  48.   end if
  49.   if the castNum of sprite 10 and rollOver(10) then
  50.     set the castNum of sprite 48 to the number of member gMagCursor
  51.   end if
  52.   if rollOver(11) then
  53.     set the castNum of sprite 48 to the number of member "curs1"
  54.   end if
  55.   if rollOver(18) then
  56.     set the castNum of sprite 48 to the number of member "hotCursor"
  57.   end if
  58.   if rollOver(25) then
  59.     set the castNum of sprite 48 to the number of member "hotCursor"
  60.   end if
  61.   repeat with i = 33 to 35
  62.     if rollOver(i) then
  63.       set the castNum of sprite 48 to the number of member "hotCursor"
  64.     end if
  65.   end repeat
  66.   if rollOver(38) then
  67.     set the castNum of sprite 48 to the number of member "hotCursor"
  68.   end if
  69.   repeat with i = 40 to 43
  70.     if rollOver(i) then
  71.       set the castNum of sprite 48 to the number of member "hotCursor"
  72.     end if
  73.   end repeat
  74. end
  75.